<template>
  <div>
    <el-row>
      <h3>el-button</h3>
      <el-button type="primary">默认按钮</el-button>
      <el-button type="primary" plain>朴素按钮</el-button>
      <el-button type="primary" round>圆角按钮</el-button>
      <el-button type="primary" icon="el-icon-edit" circle></el-button>
    </el-row>
    <el-row>
      <h3>el-link</h3>
      <el-link type="primary">主要链接</el-link>
    </el-row>
    <el-row>
      <h3>el-radio</h3>
      <el-row>
        <el-radio v-model="radio" label="1">备选项</el-radio>
        <el-radio v-model="radio" label="2">备选项</el-radio>
      </el-row>
      <el-radio-group v-model="radio1">
        <el-radio-button label="上海"></el-radio-button>
        <el-radio-button label="北京"></el-radio-button>
        <el-radio-button label="广州"></el-radio-button>
        <el-radio-button label="深圳"></el-radio-button>
      </el-radio-group>
      <el-row>
        <el-radio v-model="radio" label="1" border>备选项1</el-radio>
        <el-radio v-model="radio" label="2" border>备选项2</el-radio>
      </el-row>
    </el-row>
    <el-row>
      <h3>el-checkbox</h3>
      <el-checkbox v-model="checked">备选项</el-checkbox>
    </el-row>
    <el-row>
      <h3>el-slider</h3>
      <el-slider v-model="value2"></el-slider>
    </el-row>
  </div>
</template>
<script>
export default {
  data() {
    return {
      radio: '1',
      radio1: '上海',
      value2: 50,
      checked: true,
    };
  },
};
</script>
<style lang="scss" scoped>
::v-deep .el-row {
  margin: 20px 0;
}
</style>
